package com.jic.product.service;

import java.lang.Long;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.RestResult;
import com.jic.product.entity.CategoryManagement;
import com.jic.product.manage.request.CategoryManagementRequest;
import com.jic.product.manage.response.CategoryManagementResponse;

/**
* 商家类目资质管理
* @author :
* @email :
* @since : 2020-01-10 07:03:01
* @version : v1.0.0
*/
public interface CategoryManagementService {

    long insert(CategoryManagementRequest categoryManagement);

    long delete(Long id);

    long update(CategoryManagementRequest categoryManagement);

    CategoryManagement queryByPrimaryKey(Long id);

    PageResult<CategoryManagementResponse> query(CategoryManagementRequest categoryManagement);

    PageResult<CategoryManagementResponse> queryPage(CategoryManagementRequest categoryManagement, Page pageQuery);


    RestResult<CategoryManagementResponse> queryInfo(CategoryManagementRequest category);
}
